import java.util.Scanner;


public class Arbol2 {

	
	public static void main(String[] args) {
		int n;
		System.out.println("ingrese la altura del arbol");
		Scanner in =new Scanner(System.in);
		n=in.nextInt();
		int aux=0,a=n-1,b=1;
		while(aux<n){
			for(int i=a;i>0;i--)
				System.out.print(" ");
			for(int j=0;j<b;j++)
				System.out.print("*");
			System.out.println();
			a--;
			b=b+2;
			aux++;
		}
	}

}
